<h1>detail view</h1>

<?php echo "<br>";

debug($detail);
echo $pom;
echo "<table>";
echo "<tr>";
echo "<th>Id</th>";
echo "<th>Nazev</th>";
echo "<th>Barva</th>";
echo "<th>Vazani</th>";
echo "<th>Podpatky</th>";
echo "<th>Typ</th>";
echo "</tr>";
foreach($detail as $pom){
    echo "<td>";
    echo $pom['Shoes']['id'];
    echo $pom['Shoes']['nazev'] ;
    echo $pom['Shoes']['barva'];
    echo $pom['Shoes']['vazani'];
    echo $pom['Shoes']['podpatky'];
    echo $pom['Shoes']['typ'];
    echo "</tr>";


}
echo "</table>";
echo "<a href = 'http://databaze.fbmi.cvut.cz/suchapa3/bitwa2/bi/cakephp/index.php/shoes/index'>zpet</a>";

?>